package com.data.center.entity;

import lombok.Data;

import java.util.Arrays;
import java.util.Date;

/**
 * @author Li_Jx
 * @description:
 * @date 2024/1/15 15:20
 */
@Data
public class Work {
    private String id;
    private String personId;
    private String workId;
    private String organizationId;
    private String department;
    private Date startDate;
    private Date endDate;
    private String position;
    private String title;
    private String level;
    private String duty;
    private byte[] certificate;

    @Override
    public String toString() {
        return "Work{" +
                "id='" + id + '\'' +
                "personId='" + personId + '\'' +
                ", workId='" + workId + '\'' +
                ", organizationId='" + organizationId + '\'' +
                ", department='" + department + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", position='" + position + '\'' +
                ", title='" + title + '\'' +
                ", level='" + level + '\'' +
                ", duty='" + duty + '\'' +
                ", certificate=" + Arrays.toString(certificate) +
                '}';
    }
}
